<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\helpers\Url;

/* @var $this yii\web\View */
/* @var $searchModel backend\models\PreCommonTeamSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

/*
**Team :
**Coding by 张今灵 1511267 170706
**This is the function of team information 
*/

$this->title = '团队信息';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="pre-common-team-index">

   <div class="row">
         <div class="col-md-12">
         <h1 class="page-header">
              团队管理 <small>Team Management</small>
         </h1>
         </div>
  </div> 
   <ol class="breadcrumb">
  <li>团队管理</li>
  <li><a href=<?php echo  Url::to(['pre-common-team/index'])?>>团队列表</a></li>
</ol>

    <p>
        <?= Html::a('创建新团队', ['create'], ['class' => 'btn btn-success']) ?>
    </p>
    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'Team_name',
            'Member_num',
            'Setup_time',
            'sid',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
</div>
